const mongoose = require("mongoose");

//在创建自提点数据结构
const addressSchema = new mongoose.Schema({
    name: String,
    Address: String,
    longitude: Number,
    latitude: Number,
    Cold_store: Boolean,
    Phone: Number,
    Open_hours: String,
    Image:String,
})

//在数据库创建address集合
 mongoose.model("address", addressSchema, "address");
 
 